package cn.wolfcode.crm.Service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.DepartmentQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    int updateByPrimaryKey(Department record);

    PageInfo<Department> queryForList(DepartmentQuery qo);
}
